package com.adtech.adms.device.pojo;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * GuiAction entity. @author MyEclipse Persistence Tools
 */

public class GuiAction implements java.io.Serializable {

	// Fields

	private Integer id;
	private String user;
	private Boolean onlineCheck;
	private String actionName;
	private String protocol;
	private Boolean active;
	private String filterStr;
	private Integer priority;
	private Boolean hasFin;
	private Timestamp scheduleAt;
	private Timestamp runBeginDate;
	private Timestamp runEndDate;
	private Short runType;
	private Short runPolicy;
	private String status;
	private Timestamp createDate;
	private Timestamp editDate;
	private String editUser;
	private Set guiActionitems = new HashSet(0);
	private Integer deviceId;
	private Integer policyId;

	// Constructors

	/** default constructor */
	public GuiAction() {
	}

	/** minimal constructor */
	public GuiAction(String user, Boolean onlineCheck, String protocol,
			Boolean active, String filterStr, Integer priority, Boolean hasFin,
			Short runType, String status, Timestamp createDate,
			Timestamp editDate) {
		this.user = user;
		this.onlineCheck = onlineCheck;
		this.protocol = protocol;
		this.active = active;
		this.filterStr = filterStr;
		this.priority = priority;
		this.hasFin = hasFin;
		this.runType = runType;
		this.status = status;
		this.createDate = createDate;
		this.editDate = editDate;
	}

	/** full constructor */
	public GuiAction(String user, Boolean onlineCheck, String actionName,
			String protocol, Boolean active, String filterStr,
			Integer priority, Boolean hasFin, Timestamp scheduleAt,
			Timestamp runBeginDate, Timestamp runEndDate, Short runType,
			Short runPolicy, String status, Timestamp createDate,
			Timestamp editDate, String editUser, Set guiActionitems) {
		this.user = user;
		this.onlineCheck = onlineCheck;
		this.actionName = actionName;
		this.protocol = protocol;
		this.active = active;
		this.filterStr = filterStr;
		this.priority = priority;
		this.hasFin = hasFin;
		this.scheduleAt = scheduleAt;
		this.runBeginDate = runBeginDate;
		this.runEndDate = runEndDate;
		this.runType = runType;
		this.runPolicy = runPolicy;
		this.status = status;
		this.createDate = createDate;
		this.editDate = editDate;
		this.editUser = editUser;
		this.guiActionitems = guiActionitems;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUser() {
		return this.user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public Boolean getOnlineCheck() {
		return this.onlineCheck;
	}

	public void setOnlineCheck(Boolean onlineCheck) {
		this.onlineCheck = onlineCheck;
	}

	public String getActionName() {
		return this.actionName;
	}

	public void setActionName(String actionName) {
		this.actionName = actionName;
	}

	public String getProtocol() {
		return this.protocol;
	}

	public void setProtocol(String protocol) {
		this.protocol = protocol;
	}

	public Boolean getActive() {
		return this.active;
	}

	public void setActive(Boolean active) {
		this.active = active;
	}

	public String getFilterStr() {
		return this.filterStr;
	}

	public void setFilterStr(String filterStr) {
		this.filterStr = filterStr;
	}

	public Integer getPriority() {
		return this.priority;
	}

	public void setPriority(Integer priority) {
		this.priority = priority;
	}

	public Boolean getHasFin() {
		return this.hasFin;
	}

	public void setHasFin(Boolean hasFin) {
		this.hasFin = hasFin;
	}

	public Timestamp getScheduleAt() {
		return this.scheduleAt;
	}

	public void setScheduleAt(Timestamp scheduleAt) {
		this.scheduleAt = scheduleAt;
	}

	public Timestamp getRunBeginDate() {
		return this.runBeginDate;
	}

	public void setRunBeginDate(Timestamp runBeginDate) {
		this.runBeginDate = runBeginDate;
	}

	public Timestamp getRunEndDate() {
		return this.runEndDate;
	}

	public void setRunEndDate(Timestamp runEndDate) {
		this.runEndDate = runEndDate;
	}

	public Short getRunType() {
		return this.runType;
	}

	public void setRunType(Short runType) {
		this.runType = runType;
	}

	public Short getRunPolicy() {
		return this.runPolicy;
	}

	public void setRunPolicy(Short runPolicy) {
		this.runPolicy = runPolicy;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public Timestamp getEditDate() {
		return this.editDate;
	}

	public void setEditDate(Timestamp editDate) {
		this.editDate = editDate;
	}

	public String getEditUser() {
		return this.editUser;
	}

	public void setEditUser(String editUser) {
		this.editUser = editUser;
	}

	public Set getGuiActionitems() {
		return this.guiActionitems;
	}

	public void setGuiActionitems(Set guiActionitems) {
		this.guiActionitems = guiActionitems;
	}

	public Integer getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(Integer deviceId) {
		this.deviceId = deviceId;
	}

	public Integer getPolicyId() {
		return policyId;
	}

	public void setPolicyId(Integer policyId) {
		this.policyId = policyId;
	}
	
	

}